<?php
$title = 'Delete category';
$this->headTitle($title);
?>
<div class="panel panel-danger">
    <div class="panel-heading">
	<h4><?php echo $this->escapeHtml($title);?></h4>
    </div>
    <div class="panel-body">
	<p class="">Are you sure that you want to delete category
	    '<?php echo $this->escapeHtml($category->name); ?>' ?
	</p>
	<?php
	$url = $this->url('category',
		array(
		    'action' => 'delete',
		    'id' => $category->id
		));	
	?>
	<form action="<?php echo $url;?>" method="post">
	    <div>
		<input type="hidden" name="id" value="<?php echo (int) $category->id;?>" />
		<input type="submit" class="btn btn-danger glyphicon-edit" name="del" value="Yes" />
		<input type="submit" Class="btn btn-default" name="del" value="No" />
	    </div>
	</form>
    </div>
</div>